<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>jquery hello world</title>
		<script src="../js/jquery-3.2.1.min.js"></script>
		<script>
			//window.onload=
			jQuery(function(){
				alert("welcome to jquery world");
				$("div,p").text("这是一个块元素！");
				$("#t").html("<a href='https://www.taobao.com'>淘宝</a>").css({"border":"3px groove red","background-color":"blue"}).attr("align","right");
				
				$("a").attr("target","_blank");
			});
		</script>
	</head>
	<body>
		<div></div>
		<div></div>
		<p>
			
		</p>
		<h1 id="t"></h1>
		<a href="https://www.taobao.com">淘宝</a>
		<a href="http://www.bdqn.cn">总部</a> 
	</body>
</html>
